package cn.swpu.blog.vo;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author 冰翔
 * @Date Created in 10:20 下午 2020/12/10
 */
@Data
public class BlogDetailVo {

    @ApiParam("博客标题")
    private String blogTitle;

    @ApiParam("博客简介")
    private String intro;

    @ApiParam("是否置顶")
    private Integer isTop;

    @ApiParam("正文")
    private String content;

    @ApiParam("类别ID，一篇文章只能有一个")
    private Integer categoryId;

    @ApiParam("标签ID，一篇文章可以有多个")
    private List<Integer> tags;

    @ApiParam("浏览次数")
    private Integer browseCount;

    @ApiParam("文章字数")
    private Integer wordCount;

    @ApiParam("创建时间")
    private Date createTime;

    @ApiParam("上一次更新时间")
    private Date updateTime;

}
